<template>
  <el-form ref="form" :model="sizeForm" label-width="80px" size="mini">
    <el-form-item label="梵响数据">
      <el-input v-model="sizeForm.name" placeholder="梵响数据"></el-input>
    </el-form-item>
    <el-form-item label="公司地址">
      <el-input v-model="sizeForm.name" placeholder="创业大厦"></el-input>
    </el-form-item>
    <el-form-item label="公寓品牌">
      <el-input v-model="sizeForm.name" placeholder="橘子公寓"></el-input>
    </el-form-item>
    <el-form-item label="分布方式">
      <el-input v-model="sizeForm.name" placeholder="集中式"></el-input>
    </el-form-item>
    <el-form-item label="公寓规模">
      <el-input v-model="sizeForm.name" placeholder="500间"></el-input>
    </el-form-item>
    <el-form-item label="联系人">
      <el-input v-model="sizeForm.name" placeholder="哈哈哈"></el-input>
    </el-form-item>
    <el-form-item label="联系方式">
      <el-input v-model="sizeForm.name" placeholder="12345678"></el-input>
    </el-form-item>
    <el-form-item label="公寓简介">
      <textarea name="" id="" cols="30" rows="10" class="jianjie">公寓简介</textarea>
    </el-form-item>
    <el-form-item size="large">
      <el-button type="primary" @click="onSubmit">确定</el-button>
      <el-button>删除</el-button>
    </el-form-item>
  </el-form>

</template>

<script>
    export default {
        name: "customer-edit-company",
      data() {
        return {
          sizeForm: {
            name: '',
            region: '',
            date1: '',
            date2: '',
            delivery: false,
            type: [],
            resource: '',
            desc: ''
          }
        };
      },
      methods: {
        onSubmit() {
          console.log('submit!');
        }
      }
    }
</script>

<style lang="scss">
   .el-form{
     display:flex;
     flex-direction: column;
     align-items: flex-start;
     margin:0 0 0 20px;
     background:palevioletred;
     padding:30px 0 0 20px;
     .el-input__inner{
       width:611px;
       height:30px;
     }
     .jianjie{
       border:0;
       width:607px;
       border-radius: 4px;
       height:96px!important;
     }
   }
</style>
